﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DBHR.ClientInterface;
using DBHR.ClientModule;

namespace DBHR.WinFormUnity
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            //var run = ClientMoudleContainer.Instance.Resolve<IModuleRun>("SP1010");
            //run.RunModule("SP1010", this, string.Empty);
            foreach(Form sub in this.MdiChildren)
            {
                
            }
        }

        private void button2_Click(object sender, EventArgs e)
        {
            ClientMoudleContainer.Instance.ResolveAndInvoke("SP", "SP1010", this);
        }
    }

    
}
